package cn.samler.diandi.api.mapper;

import cn.samler.diandi.api.entity.PostComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PostCommentMapper {
    List<PostComment> listByPostId(@Param("pid") int pid, @Param("start") int start, @Param("offset") int offset);
    Integer insert(PostComment comment);
}
